package com.template.entity.content;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author wangqi
 * @date 2024-01-16 15:16
 */
public class TextContent extends Content{
    private String text;
    @JsonProperty("un_escape")
    private Boolean unEscape=false;
    public TextContent() {
        super("text");
    }

    public String getText() {
        return text;
    }

    public TextContent setText(String text) {
        this.text = text;
        return this;
    }
    @JsonProperty("un_escape")
    public boolean getUnEscape() {
        return unEscape;
    }

    public TextContent setUnEscape(boolean unEscape) {
        this.unEscape = unEscape;
        return this;
    }
}
